const state = {
  messages: [
    {
      type: '采购通知',
      title: '新采购申请待审批',
      content: '您有3份新的采购申请需要审批，请及时处理。',
      time: '2023-05-15 10:30',
      link: '#'
    },
    // 其他消息...
  ]
}

const mutations = {
  ADD_MESSAGE(state, message) {
    state.messages.unshift(message)
  }
}

export default {
  namespaced: true,
  state,
  mutations
}